// 获取 notice
export const getNotice = (that) => {
  return that.$get("/web_question/admin/notice");
};

// 添加notice
export const addNotice = (that, obj) => {
  return that.$post("/web_question/admin/notice/add", obj);
};

// 修改notice
export const updateNotice = (that, obj) => {
  return that.$post("/web_question/admin/notice/update", obj);
};

// 删除单个notice
export const deleteNotice = (that, obj) => {
  return that.$get("/web_question/admin/notice/delete", obj);
};

// 显示广告文本
export const showNotice = (that, obj) => {
  return that.$get("/web_question/admin/notice/show", obj);
};
